package com.panfeng.xcloud.boss.provider.member.web.vo.request;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import java.io.Serializable;

@Setter
@Getter
@ApiModel(value = "刷新token请求")
public class RefreshTokenReqVO implements Serializable {

    @NotNull(message = "客户端标识Id不能为null")
    @NotEmpty(message = "客户端标识Id不能为空")
    @ApiModelProperty(value = "客户端标识Id", required = true)
    private String clientId;

    @NotNull(message = "客户端授权秘钥不能为null")
    @NotEmpty(message = "客户端授权秘钥不能为空")
    @ApiModelProperty(value = "客户端授权秘钥", required = true)
    private String clientSecret;

    @NotNull(message = "refreshToken不能为null")
    @NotEmpty(message = "refreshToken不能为空")
    @ApiModelProperty(value = "refreshToken", required = true)
    private String refreshToken;

}
